import 'dart:convert';

BooksToLibrary booksToLibraryFromJson(String str) => BooksToLibrary.fromJson(json.decode(str));

String booksToLibraryToJson(BooksToLibrary data) => json.encode(data.toJson());

class BooksToLibrary {
    BooksToLibrary({
        this.bookId,
    });

    List<String>? bookId;

    factory BooksToLibrary.fromJson(Map<String, dynamic> json) => BooksToLibrary(
        bookId: json["bookId"]!=null ? List<String>.from(json["bookId"].map((x) => x)): null,
    );

    Map<String, dynamic> toJson() => {
        "bookId": bookId!=null ? List<dynamic>.from(bookId!.map((x) => x)) : null,
    };
}
